﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class ActReCaseDef
    {
        public ActReCaseDef()
        {
            ActRuCaseExecutions = new HashSet<ActRuCaseExecution>();
            ActRuTasks = new HashSet<ActRuTask>();
        }

        public string Id { get; set; } = null!;
        public int? Rev { get; set; }
        public string? Category { get; set; }
        public string? Name { get; set; }
        public string Key { get; set; } = null!;
        public int Version { get; set; }
        public string? DeploymentId { get; set; }
        public string? ResourceName { get; set; }
        public string? DgrmResourceName { get; set; }
        public string? TenantId { get; set; }
        public int? HistoryTtl { get; set; }

        public virtual ICollection<ActRuCaseExecution> ActRuCaseExecutions { get; set; }
        public virtual ICollection<ActRuTask> ActRuTasks { get; set; }
    }
}
